home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19950329-19950528
/
000223_news@columbia.edu_Mon Apr 24 21:37:38 1995.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA21862
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Tue, 25 Apr 1995 01:12:39 -0400
Received: by apakabar.cc.columbia.edu id AA19354
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Tue, 25 Apr 1995 01:12:37 -0400
Newsgroups: comp.protocols.kermit.misc
Path: news.columbia.edu!sol.ctr.columbia.edu!howland.reston.ans.net!vixen.cso.uiuc.edu!uwm.edu!fnnews.fnal.gov!gw1.att.com!gw2.att.com!oucsboss!snavely-pc.cns.ohiou.edu!undetermined
From: snavelym@oumail1.email.ohiou.edu (Mike Snavely)
Subject: Keyboard initiated macro
X-Nntp-Posting-Host: snavely-pc.cns.ohiou.edu
Message-Id: <D7K6qq.D8K@boss.cs.ohiou.edu>
Sender: postmaster@snavely-pc.cns.ohiou.edu
X-Nntp-Posting-Date: Mon Apr 24 17:37:36 1995
Reply-To: snavelym@oumail1.email.ohiou.edu
Organization: Ohio University
X-Newsreader: WinVN 0.92.6+
Date: Mon, 24 Apr 1995 21:37:38 GMT
Lines: 51
Apparently-To: kermit.misc@watsun.cc.columbia.edu
Hello,
This question relates to a MS-Kermit trick that used to work for us
with version 3.10 and 3.11, but stopped working when commands were
obsoleted in version 3.12 or 3.13.
Here's what I used to do, and it worked rather nicely. I have two
different keyboard mappings we use with MS-Kermit. One is an IBM
mainframe mapping, another is a DEC VAX mapping. I used to program
MS-Kermit, such that CTRL-F1 would serve as a toggle. If I pressed
it once, it would toggle from IBM to DEC, if I pressed it again, it
would toggle back from DEC to IBM. I did that with the use of the
pre-defined TERMINALR and TERMINALS macros. See code below.
Excerpt from MSKERMIT.INI file:
assign \%i ibm.set
assign \%v dec.set
assign \%p keymap.ini
def terminalr take \%v,-
echo Keyboard switched to DEC settings \13,-
pause 2, connect
def terminals take \%i,-
echo Keyboard switched to IBM settings \13,-
pause 2, connect
def product take \%p, connect
Furthermore, the KEYMAP.INI file allowed host-triggered ESCAPE sequences
to perform the keyboard mapping swap on login and logout from the VAX.
Each of the keyboard mapping files then had a definition for CTRL-F1
that pointed to the appropriate macro.
IBM.SET had the following line...
set key \1374 \Kterminalr ; CTRL-F1 = Swap to DEC settings
DEC.SET had the following line...
set key \1374 \Kterminals ; CTRL-F1 = Switch to IBM settings
----
Terminalr and Terminals are no longer supported. I have tried a number
of possible solutions and have yet to be completely satisfied.
Anybody have any suggestions?
Thanks in advance.
/Mike